package com.example.httpmessageconverter.entity;

public enum TypeEnum {
    REGISTER(1, "注册"),
    LOGIN(2, "登录")
    ;
    private Integer code;
    private String desc;

    TypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
